package com.hy.admin.dao;

import com.hy.admin.entity.YangCardEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface YangCardDao {
    int deleteByPrimaryKey(Long id);

    int insert(YangCardEntity record);

    int insertSelective(YangCardEntity record);

    YangCardEntity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(YangCardEntity record);

    int updateByPrimaryKey(YangCardEntity record);

    List<YangCardEntity> selectAll();
}